//
//  ServerMessaging.h
//  Networking
//
//  Created by Christoph Eßer on 12/1/11.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "NetworkMessage.h"

@protocol ServerMessaging <NSObject>
-(void) incomingMessage:(NetworkMessage*) msg fromClient:(NSString*) client;

//is called whenever a client disconnects or the connection timed out
-(void)clientDisconnected:(NSString*) client;
@end
